package cn.iocoder.yudao.module.resource.controller.admin.messagecollection.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 用户 Excel 导入 VO
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = false)
public class MessageCollectionImportExcelVO {
    @ExcelProperty("用户消息")
    @Schema(description = "用户消息", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "用户消息不能为空")
    private String userText;

    @ExcelProperty("回复消息")
    @Schema(description = "回复消息")
    @NotEmpty(message = "回复消息不能为空")
    private String replyText;

}
